﻿//***********************************************************************
// Assembly         : IGolovkine.AoA.Core
// Author           : Ilia
// Created          : 06-11-2011
//
// Last Modified By : Ilia
// Last Modified On : 01-07-2010
// Description      : 
//
// Copyright        : (c) Microsoft. All rights reserved.
//***********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IGolovkine.AoA.Diagnostics
{
    /// <summary>
    /// 
    /// </summary>
    /// <remarks></remarks>
    public class LogManager
    {
        /// <summary>
        /// Gets the class logger.
        /// </summary>
        /// <param name="classInstance">The class instance.</param>
        /// <returns></returns>
        /// <remarks></remarks>
        public ILogger GetClassLogger(object classInstance)
        {
            return new NLoggerWrapper(NLog.LogManager.GetLogger(classInstance.GetType().Name));
        }
    }  
}
